#pragma once

#include <ostream>

class Vector
{
private:

public:
	float x, y;

	Vector(float x, float y);
	Vector();

	Vector operator-(const Vector& other) const;
	Vector operator+(const Vector& rhs) const;
	void operator+=(const Vector& rhs);
	Vector operator*(const float scalar) const;
	void operator*=(const float scalar);
	friend std::ostream& operator<<(std::ostream& o, const Vector& v);
};

float VecDotProduct(const Vector& lhs, const Vector& rhs);
Vector VecNormalize(Vector& v);
Vector VecNormalize(const Vector& v);